package com.hp.ssm.mapper;

import com.hp.ssm.entity.Role;
import com.hp.ssm.entity.User;

import java.util.List;

public interface RoleMapper {
    List<User> selectAll(User user);

    int promotion(Integer aid);

    int demotion(Integer aid);

    List<Role> selectAll1(Role role);
}
